<%@page contentType="text/html" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人信息管理系统 - 删除日程</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f9;
            color: #333;
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none; /* 去掉下划线 */
        }

        header {
            background-color: #5C6BC0;
            color: white;
            padding: 20px 0;
            text-align: center;
        }

        header h1 {
            margin: 0;
            font-size: 28px;
        }

        .navbar {
            display: flex;
            justify-content: center;
            background-color: #3F51B5;
            padding: 10px 0;
        }

        .navbar a {
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            margin: 0 15px;
            font-size: 16px;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        .navbar a:hover {
            background-color: #3949AB;
        }

        .container {
            max-width: 800px;
            margin: 60px auto;
            padding: 20px;
            background-color: white;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        table td {
            padding: 12px;
            border: 1px solid #ddd;
        }

        table th {
            text-align: left;
            background-color: #3F51B5;
            color: white;
            padding: 12px;
        }

        input[type="text"] {
            padding: 5px;
            width: 50px;
            margin: 5px 0;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        input[type="submit"], input[type="reset"] {
            background-color: #3F51B5;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            margin-top: 20px;
            transition: background-color 0.3s;
        }

        input[type="submit"]:hover, input[type="reset"]:hover {
            background-color: #3949AB;
        }

        .form-actions {
            text-align: center;
        }

        footer {
            background-color: #5C6BC0;
            color: white;
            text-align: center;
            padding: 10px;
            position: fixed;
            bottom: 0;
            width: 100%;
        }
    </style>
</head>
<body>


<div class="container">

    <h2 style="text-align:center;">删除日程</h2>

    <div class="navbar">
        <a href="http://localhost/dateManager/lookDate.jsp">查看日程</a>
        <a href="http://localhost/dateManager/addDate.jsp">增加日程</a>
        <a href="http://localhost/dateManager/updateDate.jsp">修改日程</a>
        <a href="javascript:void(0);" style="background-color: #3949AB;">删除日程</a>
    </div>
    <form action="http://localhost/DeleteDateController/deleteDate" method="post" accept-charset="UTF-8">
        <table>
            <tr>
                <td width="40%" align="right">日程时间</td>
                <td>
                    20<input type="text" name="year" value="" placeholder="22" required>年
                    <input type="text" name="month" value="" placeholder="01" required>月
                    <input type="text" name="day" value="" placeholder="01" required>日
                </td>
            </tr>
        </table>
        <div class="form-actions">
            <input type="submit" value="确定">&nbsp;&nbsp;&nbsp;
            <input type="reset" value="重置">
        </div>
    </form>
</div>

<footer>
    <p>&copy; 2024 个人信息管理系统 | All Rights Reserved</p>
</footer>

</body>
</html>
